<?php
if (isset ($this->arrHotVideo) && !empty ($this->arrHotVideo) )
{
?>
<div class="slides_container">
    <?php
    $i = 0;
    foreach($this->arrHotVideo as $video)
    {
        if ($i == 0 )
            echo '<ul>';
        else if ($i%3 == 0)
            echo '</ul><ul>';
            ?>
        <li>
            <div class="block_image_thumb"> <a href="<?php echo $this->Articleurl($photo); ?>" title="<?php echo $video['title']; ?>"><img src="<?php echo $this->config['photo'] . '/' . $video['thumbnail_url']; ?>" alt="<?php echo $video['title']; ?>" align="<?php echo $video['title']; ?>" /> <span class="icon_play">&nbsp;</span> </a> </div>
            <h2> <a href="<?php echo $this->Articleurl($photo); ?>" class="" title="<?php echo $video['title']; ?>"><?php echo $video['title']; ?></a> </h2>
            <p class="txt_gray txt_11">lượt xem:530</p>
        </li>
    <?php
                    
        $i++;
        if ($i == sizeof($this->arrHotVideo))
              echo '</ul>';
    }
    ?>
</div>

<?php    
} //end if
?>
